//---------------------------------------------------------------------------

#ifndef h_serverH
#define h_serverH
//---------------------------------------------------------------------------

const int COMM_TIME_OUT = 60;

class HServer
{
public :
   static bool __fastcall FuncDownload(const UTF8String &SrcFileName,
      const UTF8String &DesFileName);
   static bool __fastcall FuncLogin(const UTF8String &Id, const UTF8String &Password,
      const UTF8String &Auth, UTF8String &ErrorString);

private :
   static bool __fastcall ReadFileFromSocket(SOCKET Sock,
      char *ErrorStr, const char *FileName);
};

#endif
